package com.pptree.vo;

import java.io.Serializable;
import java.sql.Timestamp;

public class NewsDomain  implements Serializable{
	//select n.id,c.name as tname,n.title,n.author,n.createdate,n.modifydate from news
	
	private int id;
	private String tname;
	private String title;
	private String author;
	private Timestamp createdate;
	private Timestamp modifydate;
	
	public NewsDomain() {
		
	}
	
	

	/**
	 * @param id
	 * @param tname
	 * @param title
	 * @param author
	 * @param createdate
	 * @param modifydate
	 */
	public NewsDomain(int id, String tname, String title, String author, Timestamp createdate, Timestamp modifydate) {
		this.id = id;
		this.tname = tname;
		this.title = title;
		this.author = author;
		this.createdate = createdate;
		this.modifydate = modifydate;
	}



	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Timestamp getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	public Timestamp getModifydate() {
		return modifydate;
	}

	public void setModifydate(Timestamp modifydate) {
		this.modifydate = modifydate;
	}
	
	
	

}
